<?php

/**
 * Boek form.
 *
 * @package    jobeet
 * @subpackage form
 * @author     Your name here
 */
class BoekForm extends BaseBoekForm
{
  public function configure()
  {
$this->widgetSchema['afbeelding'] = new sfWidgetFormInputFile(array(
  'label' => 'Cover boek',
));

$this->validatorSchema['afbeelding'] = new sfValidatorFile(array(
  'required'   => false,
  'path'       => sfConfig::get('sf_upload_dir').'/boeken_covers',
  'mime_types' => 'web_images',
));
  }
  
  
}
